#region Using directives
using System;
using System.Data;
using WP.Commons;
#endregion

namespace WP.MF.DataEntity
{

	/*
	 * Created by Web Smart Create Code Tool
	 * At 4/22/2005
	 */

	//=========MProvince  ============================
	[System.ComponentModel.DesignerCategory("Code")]
    public class MProvinceDEL : DataSet, IDataEntity
	{
		//=========mProvince ============================
		public const string TABLENAME_MPROVINCE="mProvince";
		public const string RECID="RecID";
		public const string RECSTAMP="RecStamp";
		public const string PROVNO="ProvNo";
		public const string PROVNAME="ProvName";
		public const string PSTPCT="PstPct";
		public const string PSTONGST="PstOnGst";
		public const string COUNTRY="Country";
		public const string TAXCODE="TaxCode";
		public const string GSTLABEL="GstLabel";
		public const string PSTACCTNO="PstAcctno";
		public const string PSTPROFITNO="PstProfitno";
		public const string PSTBRANCHNO="PstBranchno";
		public const string GSTACCTNO="GstAcctno";
		public const string GSTBRANCHNO="GstBranchno";
		public const string GSTPROFITNO="GstProfitno";
		public const string GSTPCT="GstPct";
		public const string PSTLABEL="PstLabel";
		public const string ECOACCTNO="EcoAcctno";
		public const string ECOBRANCHNO="EcoBranchno";
		public const string ECOPROFITNO="EcoProfitno";
		public const string HOMOGENEOUSTAX="HomogeneousTax";
        public const string TAXNEEDCONSIDERDISC = "TaxNeedConsiderDisc";
        public const string CUTOFFSURCHGAMT = "CutoffSurchgAmt";
        public const string RECYCLINGFEEACCTNO = "RecyclingFeeAcctNo";
        public const string RECYCLINGFEEPROFITNO = "RecyclingFeeProfitNo";
        public const string RECYCLINGFEEBRANCHNO = "RecyclingFeeBranchNo";
        public const string DEPOSITACCTNO = "DepositAcctNo";
        public const string DEPOSITPROFITNO = "DepositProfitNo";
        public const string DEPOSITBRANCHNO = "DepositBranchNo";
        public const string COLLECTSALESTAX = "CollectSalesTax";       
        private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
        public System.Collections.Specialized.NameValueCollection VarCollection
        {
            get { return mVarCollection; }
            set { mVarCollection = value; }
        }

		public MProvinceDEL()
		{
			//Create mProvince structure
			CreatemProvinceStructure();

		}

		//=========mProvince============================
		private void CreatemProvinceStructure()
		{
			DataTable table;
			DataColumnCollection DCC;
			DataColumn DC=new DataColumn();
			table=new DataTable (TABLENAME_MPROVINCE);
			DCC=table.Columns;

			DC=new DataColumn(RECID,typeof(System.Int32));
			DCC.Add(DC);

			DC=new DataColumn(PROVNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(PROVNAME,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(PSTPCT,typeof(System.Double));
			DC.DefaultValue="0";
			DCC.Add(DC);

			DC=new DataColumn(PSTONGST,typeof(System.Boolean));
			DC.DefaultValue=false;
			DCC.Add(DC);

			DC=new DataColumn(COUNTRY,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(TAXCODE,typeof(System.Int32));
			DC.DefaultValue="0";
			DCC.Add(DC);

			DC=new DataColumn(GSTLABEL,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(PSTACCTNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(PSTPROFITNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(PSTBRANCHNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(GSTACCTNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(GSTBRANCHNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(GSTPROFITNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(GSTPCT,typeof(System.Double));
			DC.DefaultValue="0";
			DCC.Add(DC);

			DC=new DataColumn(PSTLABEL,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(ECOACCTNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(ECOBRANCHNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(ECOPROFITNO,typeof(System.String));
			DCC.Add(DC);

			DC=new DataColumn(HOMOGENEOUSTAX,typeof(System.Boolean));
			DC.DefaultValue=false;
			DCC.Add(DC);

            DC = new DataColumn(TAXNEEDCONSIDERDISC, typeof(System.Boolean));
            DC.DefaultValue = true;
            DCC.Add(DC);

            DC = new DataColumn(CUTOFFSURCHGAMT, typeof(System.Double));
            DC.DefaultValue = 0;
            DCC.Add(DC);

            DC = new DataColumn(RECYCLINGFEEACCTNO, typeof(System.String));
            DC.DefaultValue = "";
            DCC.Add(DC);

            DC = new DataColumn(RECYCLINGFEEPROFITNO, typeof(System.String));
            DC.DefaultValue = "000";
            DCC.Add(DC);

            DC = new DataColumn(RECYCLINGFEEBRANCHNO, typeof(System.String));
            DC.DefaultValue = "000";
            DCC.Add(DC);

            DC = new DataColumn(DEPOSITACCTNO, typeof(System.String));
            DC.DefaultValue = "";
            DCC.Add(DC);

            DC = new DataColumn(DEPOSITPROFITNO, typeof(System.String));
            DC.DefaultValue = "000";
            DCC.Add(DC);

            DC = new DataColumn(DEPOSITBRANCHNO, typeof(System.String));
            DC.DefaultValue = "000";
            DCC.Add(DC);

            DC = new DataColumn(COLLECTSALESTAX, typeof(System.Boolean));
            DC.DefaultValue = true;
            DCC.Add(DC);

			DC=new DataColumn(RECSTAMP,typeof(System.Byte[]));
			DCC.Add(DC);

			this.Tables.Add (table);
		}

	}
}